package com.example.mapper;


import com.example.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuMapper {

    /*
    * 查询主菜单及二级菜单
    * */
    @Select("SELECT * from mainmenu")
    List<Menu> getMenu();
}